import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import gwMap from 'gw-map';
import 'gw-map/lib/gwMap.css';
import GwEarth from 'gw-earth';
import 'gw-earth/lib/gwEarth.css';
import GwCommon from 'gw-common';
import 'gw-common/lib/gwCommon.css';
import './assets/iconfont/iconfont.css';
import './assets/styles/index.scss'
import VueSlider from 'vue-slider-component'
import 'vue-slider-component/theme/default.css'
import 'animate.css'
import enLocale from 'element-ui/lib/locale/lang/en'
// 引入自定义指令
Vue.use(gwMap);
Vue.use(GwEarth);
Vue.use(GwCommon);
Vue.component('VueSlider', VueSlider)
enLocale.el.pagination = {
  pagesize: '',
  total: `{total} pieces in total`,
};
Vue.use(ElementUI,{
  size:'small',
  locale: enLocale,
});
Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
